#include <iostream>
#include <noise.h>

#include "noiseutils.h"

using namespace noise;

class Heightmap
{
private:
	module::Perlin				perlin;
	utils::NoiseMap				heightMap;
	utils::NoiseMapBuilderPlane heightMapBuilder;

	void init(int seed, int destWidth, int destHeight, int x, int z);
public:
	Heightmap(int seed, int destWidth, int destHeight, int x, int z);
	Heightmap(int destWidth, int destHeight, int x, int z);
	~Heightmap();

	float getHeight(int x, int z);
};